package com.gyg.client;

import com.gyg.returns.RespEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "cloudMenuClient", url = "${cloud.box.url}")
public interface CloudMenuClient {

    /**
     * 菜单列表
     * @return
     */
    @GetMapping("/cloud-menu/list")
    RespEntity queryAllMenu();

}
